home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.5)
-
- from common import profile, pref
- from logging import getLogger
- log = getLogger('jplugin')
-
- def on_load():
- log.info('Plugin Host Init')
- if pref('jplugin.enabled', False):
- start_server()
- else:
- log.info('Plugin Host Disabled!')
-
-
- class jplugin:
-
- def __init__(self, sock):
- pass
-
-
- def on_request(self):
- pass
-
-
- def on_event(self):
- pass
-
-
-
- def start_server():
- pass
-
-
- def object_to_json(object):
- pass
-
-
- def json_to_object(object):
- pass
-
-
- def initialize():
- Hook = Hook
- import peak.util.plugins
- Hook('digsby.plugin.load', 'jsonplugin_status').register(on_load)
-
-